package com.leyu.mall.site.member.controller;

import javax.servlet.http.HttpServletRequest;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import com.leyu.mall.domain.member.UserBase;
import com.leyu.mall.service.member.IUserBaseService;
@Controller
@Scope(value = "prototype")
@RequestMapping("user")
public class UserController
{
	
	@Autowired
	private IUserBaseService userBaseServiceImpl;
	
	

	
	
//	
//	@RequestMapping(value = "login", method = RequestMethod.GET)
//	public String login(Model model,UserBase userBase)
//	{
//		 
//		return "user/login.html";
//	}
//	
//	@RequestMapping(value = "register", method = RequestMethod.GET)
//	public String register(Model model,UserBase userBase)
//	{
//	 
//		return "user/login.html";
//	}
	

	
	@RequestMapping(value = "myaccount", method = RequestMethod.GET)
	public String myaccount(Model model,UserBase userBase)
	{
		
		return "user/myaccount.html";
	}
}
